import type { Message } from "../types";

const pingyuMessages: Message[] = [
  {
    id: "1",
    senderId: "yuanmei",
    content: "大家周末打球吗？周六下午两点体育馆见？",
    timestamp: new Date(Date.now() - 86400000 * 2),
  },
  {
    id: "2",
    senderId: "lebei",
    content: "好啊，我报名！带一个朋友可以吗？",
    timestamp: new Date(Date.now() - 86400000 * 2 + 300000),
  },
  {
    id: "3",
    senderId: "yingzi",
    content: "我周六有空，算我一个😊",
    timestamp: new Date(Date.now() - 86400000 * 2 + 600000),
  },
  {
    id: "4",
    senderId: "maozhu",
    content: "周日下午行不行？周六要加班...",
    timestamp: new Date(Date.now() - 86400000 * 2 + 900000),
  },
  {
    id: "5",
    senderId: "changan",
    content: "我都可以，你们定好了通知我就行",
    timestamp: new Date(Date.now() - 86400000 * 2 + 1200000),
  },
  {
    id: "6",
    senderId: "yuanmei",
    content: "那就定在周六下午2点，羽毛球场1号场地，直接来吧",
    timestamp: new Date(Date.now() - 86400000),
  },
  {
    id: "7",
    senderId: "luoluo",
    content: "👌，带点饮料过去",
    timestamp: new Date(Date.now() - 86400000 + 120000),
  },
  {
    id: "8",
    senderId: "lebei",
    content: "我订好场地了，大家准时到哈",
    timestamp: new Date(Date.now() - 18000000),
  },
];

export const messages: Record<string, Message[]> = {
  pingyu: pingyuMessages,
};
